Optimal. Leaf size=240 \[ -\frac{A b-a B}{2 b (a+b x)^2 (d+e x)^{3/2} (b d-a e)}-\frac{5 e (3 a B e-7 A b e+4 b B d)}{4 \sqrt{d+e x} (b d-a e)^4}-\frac{5 e (3 a B e-7 A b e+4 b B d)}{12 b (d+e x)^{3/2} (b d-a e)^3}-\frac{3 a B e-7 A b e+4 b B d}{4 b (a+b x) (d+e x)^{3/2} (b d-a e)^2}+\frac{5 \sqrt{b} e (3 a B e-7 A b e+4 b B d) \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{d+e x}}{\sqrt{b d-a e}}\right )}{4 (b d-a e)^{9/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.210945, antiderivative size = 240, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 4, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182, Rules used = {78, 51, 63, 208} \[ -\frac{A b-a B}{2 b (a+b x)^2 (d+e x)^{3/2} (b d-a e)}-\frac{5 e (3 a B e-7 A b e+4 b B d)}{4 \sqrt{d+e x} (b d-a e)^4}-\frac{5 e (3 a B e-7 A b e+4 b B d)}{12 b (d+e x)^{3/2} (b d-a e)^3}-\frac{3 a B e-7 A b e+4 b B d}{4 b (a+b x) (d+e x)^{3/2} (b d-a e)^2}+\frac{5 \sqrt{b} e (3 a B e-7 A b e+4 b B d) \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{d+e x}}{\sqrt{b d-a e}}\right )}{4 (b d-a e)^{9/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 78
Rule 51
Rule 63
Rule 208
Rubi steps
\begin{align*} \int \frac{A+B x}{(a+b x)^3 (d+e x)^{5/2}} \, dx &=-\frac{A b-a B}{2 b (b d-a e) (a+b x)^2 (d+e x)^{3/2}}+\frac{(4 b B d-7 A b e+3 a B e) \int \frac{1}{(a+b x)^2 (d+e x)^{5/2}} \, dx}{4 b (b d-a e)}\\ &=-\frac{A b-a B}{2 b (b d-a e) (a+b x)^2 (d+e x)^{3/2}}-\frac{4 b B d-7 A b e+3 a B e}{4 b (b d-a e)^2 (a+b x) (d+e x)^{3/2}}-\frac{(5 e (4 b B d-7 A b e+3 a B e)) \int \frac{1}{(a+b x) (d+e x)^{5/2}} \, dx}{8 b (b d-a e)^2}\\ &=-\frac{5 e (4 b B d-7 A b e+3 a B e)}{12 b (b d-a e)^3 (d+e x)^{3/2}}-\frac{A b-a B}{2 b (b d-a e) (a+b x)^2 (d+e x)^{3/2}}-\frac{4 b B d-7 A b e+3 a B e}{4 b (b d-a e)^2 (a+b x) (d+e x)^{3/2}}-\frac{(5 e (4 b B d-7 A b e+3 a B e)) \int \frac{1}{(a+b x) (d+e x)^{3/2}} \, dx}{8 (b d-a e)^3}\\ &=-\frac{5 e (4 b B d-7 A b e+3 a B e)}{12 b (b d-a e)^3 (d+e x)^{3/2}}-\frac{A b-a B}{2 b (b d-a e) (a+b x)^2 (d+e x)^{3/2}}-\frac{4 b B d-7 A b e+3 a B e}{4 b (b d-a e)^2 (a+b x) (d+e x)^{3/2}}-\frac{5 e (4 b B d-7 A b e+3 a B e)}{4 (b d-a e)^4 \sqrt{d+e x}}-\frac{(5 b e (4 b B d-7 A b e+3 a B e)) \int \frac{1}{(a+b x) \sqrt{d+e x}} \, dx}{8 (b d-a e)^4}\\ &=-\frac{5 e (4 b B d-7 A b e+3 a B e)}{12 b (b d-a e)^3 (d+e x)^{3/2}}-\frac{A b-a B}{2 b (b d-a e) (a+b x)^2 (d+e x)^{3/2}}-\frac{4 b B d-7 A b e+3 a B e}{4 b (b d-a e)^2 (a+b x) (d+e x)^{3/2}}-\frac{5 e (4 b B d-7 A b e+3 a B e)}{4 (b d-a e)^4 \sqrt{d+e x}}-\frac{(5 b (4 b B d-7 A b e+3 a B e)) \operatorname{Subst}\left (\int \frac{1}{a-\frac{b d}{e}+\frac{b x^2}{e}} \, dx,x,\sqrt{d+e x}\right )}{4 (b d-a e)^4}\\ &=-\frac{5 e (4 b B d-7 A b e+3 a B e)}{12 b (b d-a e)^3 (d+e x)^{3/2}}-\frac{A b-a B}{2 b (b d-a e) (a+b x)^2 (d+e x)^{3/2}}-\frac{4 b B d-7 A b e+3 a B e}{4 b (b d-a e)^2 (a+b x) (d+e x)^{3/2}}-\frac{5 e (4 b B d-7 A b e+3 a B e)}{4 (b d-a e)^4 \sqrt{d+e x}}+\frac{5 \sqrt{b} e (4 b B d-7 A b e+3 a B e) \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{d+e x}}{\sqrt{b d-a e}}\right )}{4 (b d-a e)^{9/2}}\\ \end{align*}
Mathematica [C] time = 0.0609988, size = 97, normalized size = 0.4 \[ \frac{\frac{e (-3 a B e+7 A b e-4 b B d) \, _2F_1\left (-\frac{3}{2},2;-\frac{1}{2};\frac{b (d+e x)}{b d-a e}\right )}{(b d-a e)^2}+\frac{3 (a B-A b)}{(a+b x)^2}}{6 b (d+e x)^{3/2} (b d-a e)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.023, size = 568, normalized size = 2.4 \begin{align*} -{\frac{2\,A{e}^{2}}{3\, \left ( ae-bd \right ) ^{3}} \left ( ex+d \right ) ^{-{\frac{3}{2}}}}+{\frac{2\,eBd}{3\, \left ( ae-bd \right ) ^{3}} \left ( ex+d \right ) ^{-{\frac{3}{2}}}}+6\,{\frac{Ab{e}^{2}}{ \left ( ae-bd \right ) ^{4}\sqrt{ex+d}}}-2\,{\frac{Ba{e}^{2}}{ \left ( ae-bd \right ) ^{4}\sqrt{ex+d}}}-4\,{\frac{bBde}{ \left ( ae-bd \right ) ^{4}\sqrt{ex+d}}}+{\frac{11\,{b}^{3}A{e}^{2}}{4\, \left ( ae-bd \right ) ^{4} \left ( bxe+ae \right ) ^{2}} \left ( ex+d \right ) ^{{\frac{3}{2}}}}-{\frac{7\,{b}^{2}Ba{e}^{2}}{4\, \left ( ae-bd \right ) ^{4} \left ( bxe+ae \right ) ^{2}} \left ( ex+d \right ) ^{{\frac{3}{2}}}}-{\frac{{b}^{3}Bde}{ \left ( ae-bd \right ) ^{4} \left ( bxe+ae \right ) ^{2}} \left ( ex+d \right ) ^{{\frac{3}{2}}}}+{\frac{13\,a{b}^{2}A{e}^{3}}{4\, \left ( ae-bd \right ) ^{4} \left ( bxe+ae \right ) ^{2}}\sqrt{ex+d}}-{\frac{13\,{b}^{3}Ad{e}^{2}}{4\, \left ( ae-bd \right ) ^{4} \left ( bxe+ae \right ) ^{2}}\sqrt{ex+d}}-{\frac{9\,bB{a}^{2}{e}^{3}}{4\, \left ( ae-bd \right ) ^{4} \left ( bxe+ae \right ) ^{2}}\sqrt{ex+d}}+{\frac{5\,{b}^{2}Bad{e}^{2}}{4\, \left ( ae-bd \right ) ^{4} \left ( bxe+ae \right ) ^{2}}\sqrt{ex+d}}+{\frac{e{b}^{3}B{d}^{2}}{ \left ( ae-bd \right ) ^{4} \left ( bxe+ae \right ) ^{2}}\sqrt{ex+d}}+{\frac{35\,A{b}^{2}{e}^{2}}{4\, \left ( ae-bd \right ) ^{4}}\arctan \left ({b\sqrt{ex+d}{\frac{1}{\sqrt{ \left ( ae-bd \right ) b}}}} \right ){\frac{1}{\sqrt{ \left ( ae-bd \right ) b}}}}-{\frac{15\,Bba{e}^{2}}{4\, \left ( ae-bd \right ) ^{4}}\arctan \left ({b\sqrt{ex+d}{\frac{1}{\sqrt{ \left ( ae-bd \right ) b}}}} \right ){\frac{1}{\sqrt{ \left ( ae-bd \right ) b}}}}-5\,{\frac{{b}^{2}eBd}{ \left ( ae-bd \right ) ^{4}\sqrt{ \left ( ae-bd \right ) b}}\arctan \left ({\frac{b\sqrt{ex+d}}{\sqrt{ \left ( ae-bd \right ) b}}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.60677, size = 3665, normalized size = 15.27 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 2.03677, size = 606, normalized size = 2.52 \begin{align*} -\frac{5 \,{\left (4 \, B b^{2} d e + 3 \, B a b e^{2} - 7 \, A b^{2} e^{2}\right )} \arctan \left (\frac{\sqrt{x e + d} b}{\sqrt{-b^{2} d + a b e}}\right )}{4 \,{\left (b^{4} d^{4} - 4 \, a b^{3} d^{3} e + 6 \, a^{2} b^{2} d^{2} e^{2} - 4 \, a^{3} b d e^{3} + a^{4} e^{4}\right )} \sqrt{-b^{2} d + a b e}} - \frac{2 \,{\left (6 \,{\left (x e + d\right )} B b d e + B b d^{2} e + 3 \,{\left (x e + d\right )} B a e^{2} - 9 \,{\left (x e + d\right )} A b e^{2} - B a d e^{2} - A b d e^{2} + A a e^{3}\right )}}{3 \,{\left (b^{4} d^{4} - 4 \, a b^{3} d^{3} e + 6 \, a^{2} b^{2} d^{2} e^{2} - 4 \, a^{3} b d e^{3} + a^{4} e^{4}\right )}{\left (x e + d\right )}^{\frac{3}{2}}} - \frac{4 \,{\left (x e + d\right )}^{\frac{3}{2}} B b^{3} d e - 4 \, \sqrt{x e + d} B b^{3} d^{2} e + 7 \,{\left (x e + d\right )}^{\frac{3}{2}} B a b^{2} e^{2} - 11 \,{\left (x e + d\right )}^{\frac{3}{2}} A b^{3} e^{2} - 5 \, \sqrt{x e + d} B a b^{2} d e^{2} + 13 \, \sqrt{x e + d} A b^{3} d e^{2} + 9 \, \sqrt{x e + d} B a^{2} b e^{3} - 13 \, \sqrt{x e + d} A a b^{2} e^{3}}{4 \,{\left (b^{4} d^{4} - 4 \, a b^{3} d^{3} e + 6 \, a^{2} b^{2} d^{2} e^{2} - 4 \, a^{3} b d e^{3} + a^{4} e^{4}\right )}{\left ({\left (x e + d\right )} b - b d + a e\right )}^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]